vcNavMeshData

A data container for accessing the navigation mesh data of a vcNavUnit. The data includes the vertices of the navigation mesh polygons, polygon references, and area boundaries. Only some or none of the data is available depending on the nav mesh build stage and settings.

See in: Overview

Module: vcCore

Parent: -

Children -

Referenced by: -

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
AreaBoundarieslist[tuple[vcVector, vcVector]]RGets the line segments for area boundaries as list[tuple[vcVector, vcVector]]. Only the area crossing boundaries are included.
DetailedMeshVerticeslist[list[vcVector]]RGets the vertices of the most detailed/final navigation mesh polygons as list[list[vcVector]].
MeshVerticeslist[list[vcVector]]RGets the vertices of the navigation mesh polygons as list[list[vcVector]].
PolyReferenceslist[Integer]RGets the intenal IDs of the navigation mesh polygons as list[int]. The IDs are in the same order as the polygons appear in the MeshVertices.
RestrictedPolyslist[Integer]RGets the reference IDs of the polygons that belong to areas with assigned ID (restricted area).
TesselationVerticeslist[list[vcVector]]RGets the first stage tesselation data/polygons i.e. the input data for nav mesh building as list[list[vcVector]].